package cn.pfz.Service;

import cn.pfz.domain.Department;
import cn.pfz.query.QueryObject;
import com.github.pagehelper.PageInfo;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

public interface IDepartmentSerives {

    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    int updateByPrimaryKey(Department record);

    PageInfo<Department> list(QueryObject qo);

    Workbook getWrokbook();
}
